package com.bbcare.comm;

import java.util.List;

public class QueryModel<T> {

	private boolean success;

	private List<T> rows;
	
	private Integer total;
	
	public QueryModel(List<T> rows,Integer tatol) {
		this.success = true;
		this.rows = rows;
		this.total = tatol;
	}

	public boolean isSuccess() {
		return success;
	}

	public List<T> getRows() {
		return rows;
	}

	public Integer getTotal() {
		return total;
	}
	
}
